<?php $user = $this->getUser(); ?>
<li>
	<div class="UserResult Result" user_id="<?php echo $user->getUserId(); ?>">
	
		<?php if( $user->isContactable() ) : ?>
			<?php if( $user->isAwaitingConfirmation() ) : ?>
				<a action="contact_answer" request_id="<?php echo $user->getRequest()->getRequestId(); ?>" class="Button">Confirm contact</a>
			<?php elseif( _u()->isAwaitingConfirmation( $user ) ) : ?>
				<p class="Status">Awaiting confirmation</p>
			<?php elseif( !$user->isContact() ) : ?>
				<a action="contact_add" class="Button">Add as contact</a>
			<?php endif ?>
		<?php endif ?>
	
		<div class="Left Part">
			<img src="<?php echo _s($user->getThumbPath()); ?>" alt="<?php echo _s($user->getFullName()); ?>" />
		</div>
		
		<div class="Right Part">
		<h5><a href="<?php echo _s($user->getUrl()); ?>"><?php echo _s($user->getFullName()); ?></a></h5>
		<p>User</p>
		
		</div>
		<div style="clear: both"></div>
	</div>
</li>
